<?php

namespace App\Admin\Repositories;

use App\Models\Order as Model;
use Dcat\Admin\Repositories\EloquentRepository;

class Order extends EloquentRepository
{
    /**
     * Model.
     *
     * @var string
     */
    protected $eloquentClass = Model::class;
    const STATUS = [
        1=>'持有',
        2=>'卖出'
    ];
    const BUY_FORM = [
        1=>'正常',
        2=>'冲高回落'
    ];
    const BUY_REASON = [
        1=>'3倍成交',
        2=>'龙头战法'
    ];
    const SELL_REASON = [
        0=>'暂未卖出',
        1=>'止盈',
        2=>'止损',
        3=>'超时'
    ];
    const IS_WIN = [
        0=>'未知',
        1=>'盈利',
        2=>'亏损',
    ];

}
